package com.arlin.spring.core.config.resources;

import java.io.IOException;
import java.nio.file.Path;
import java.util.Map;

/**
 * @ClassName: ResourceLoader
 * @Description: TODO
 * @Author: arlin
 * @Date: 2021/12/12
 */
public interface ResourceLoader {

    /**
     * 加载resource资源
     * @param path 资源路径
     * @return
     * @throws IOException
     */
    Map<String, String> loadResource(Path path) throws IOException;
}
